package org.mozhu.learning.springboot.configurationproperties;

import org.springframework.boot.context.properties.ConfigurationProperties;

@ConfigurationProperties(prefix = "configuration1")
public class ConfigurationBean1 {

    private String name;
    private Boolean valid;

    public void setName(String name) {
        this.name = name;
    }

    public void setValid(Boolean valid) {
        this.valid = valid;
    }

    public String getName() {
        return name;
    }

    public Boolean getValid() {
        return valid;
    }
}
